﻿using System;
using System.Xml.Serialization;
using UnityEngine;

namespace Assets.Scripts.config
{
	[Serializable]
	public abstract class StarData
	{
		[XmlElement]
		public string Name;
		/// <summary>
		/// 质量
		/// </summary>
		[XmlElement]
		public int Mass;
		/// <summary>
		/// 局部初始速度乘数，如果为0则使用全局的
		/// </summary>
		[XmlElement]
		public float AwakeSpeedFactor;
		/// <summary>
		/// 初始位置
		/// </summary>
		[XmlElement]
		public Vector3 Position;
		/// <summary>
		/// 半径
		/// </summary>
		[XmlElement]
		public float Scale;
	}
}
